import axiosInstance from "../axiosInstance";



const addressInfo={
    /**
     * 获取地址信息列表
     * @param {pageIndex,nickName,phone} param0 
     * @returns 
     */
    getListByPage({pageIndex,nickName,phone}){
        return axiosInstance.get(`/addressInfo/getListByPage`,{
            params:{
                pageIndex,nickName,phone
            }
        })
    },
    /**
     * 删除
     * @param {Number} id 
     * @returns 
     */
    deleteById(id){
        return axiosInstance.get(`/addressInfo/deleteById`,{
            params:{
                id
            }
        })
    }

}


export default addressInfo;